//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.lcf.app.generator.Application;
//import com.lcf.app.generator.controller.UserController;
//import com.lcf.app.generator.model.entity.User;
//import com.lcf.app.generator.other.UserDTO;
//import com.lcf.app.generator.other.UserVO;
//import com.lcf.common.web.PageDTO;
//import com.lcf.common.web.Result;
//import org.junit.jupiter.api.Test;
//import org.springframework.boot.test.context.SpringBootTest;
//
//import javax.annotation.Resource;
//
//@SpringBootTest(classes = Application.class)
//public class Demo {
//
//    @Resource
//    private UserController userController;
//
//    @Test
//    public void test() {
//        Result<User> result = userController.saveInfo(new UserDTO().setUserName("张三"));
//
//        Result<UserVO> info = userController.getInfo(result.getData().getId());
//
//        Result<Page<UserVO>> paging = userController.paging(new PageDTO().setPageNum(1).setPageSize(10));
//
//        int a = 2/0;
//
//
//    }
//}
